package com.tjy.farmer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tjy.common.annotation.Excel;
import com.tjy.common.core.domain.BaseEntity;

/**
 * 蜂区管理对象 tb_bee_area_info
 * 
 * @author tjy
 * @date 2025-09-08
 */
public class BeeAreaInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 养蜂区域信息主键ID */
    private Long id;

    /** 养蜂区域名称 */
    @Excel(name = "养蜂区域名称")
    private String areaName;

    /** 养蜂区域编码 */
    @Excel(name = "养蜂区域编码")
    private String areaCode;

    /** 养蜂区域描述 */
    private String areaDesc;

    /** 所属省份 */
    @Excel(name = "所属省份")
    private String province;

    /** 所属城市 */
    @Excel(name = "所属城市")
    private String city;

    /** 所属区县 */
    @Excel(name = "所属区县")
    private String county;

    /** 养蜂区域面积（单位：亩） */
    @Excel(name = "养蜂区域面积(亩)")
    private Double area;


    /** 区域状态（1：启用，0：停用） */
    @Excel(name = "区域状态", readConverterExp = "1=：启用，0：停用")
    private Integer areaStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }

    public void setAreaCode(String areaCode) 
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode() 
    {
        return areaCode;
    }

    public void setAreaDesc(String areaDesc) 
    {
        this.areaDesc = areaDesc;
    }

    public String getAreaDesc() 
    {
        return areaDesc;
    }

    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }

    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }

    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }

    public void setAreaStatus(Integer areaStatus) 
    {
        this.areaStatus = areaStatus;
    }

    public Integer getAreaStatus() 
    {
        return areaStatus;
    }

    public Double getArea() {return area;}

    public void setArea(Double area) {this.area = area;}

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaName", getAreaName())
            .append("areaCode", getAreaCode())
            .append("areaDesc", getAreaDesc())
            .append("province", getProvince())
            .append("city", getCity())
            .append("county", getCounty())
            .append("areaStatus", getAreaStatus())
                .append("area", getArea())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
